package cn.com.duiba.millionaire.center.spider.dao.appinfo.impl;

import cn.com.duiba.millionaire.center.biz.constants.DatabaseSchema;
import cn.com.duiba.millionaire.center.spider.dao.SpiderBaseDao;
import cn.com.duiba.millionaire.center.spider.dao.appinfo.DianpingAppDao;
import cn.com.duiba.millionaire.center.spider.entity.DianpingInfoEntity;
import org.springframework.stereotype.Repository;

/**
 * Created by sunchangji on 2018/8/3.
 */
@Repository
public class DianpingAppDaoImpl extends SpiderBaseDao implements DianpingAppDao {

    @Override
    public void insertEntity(DianpingInfoEntity entity) {
        insert("insertEntity",entity);
    }

    @Override
    protected DatabaseSchema chooseSchema() {
        return DatabaseSchema.SPIDER;
    }
}
